<?php

if (isset($_POST)) {

	include_once './db_bb_connect.php';

	$ID = $_POST['ID'];

	$sql = "DELETE FROM video_other WHERE ID = '$ID'";

	if($db->query($sql)) {

		echo "<td colspan='6' class='text-center alert alert-danger'>
	   Your video entry has been deleted
	   </td>";

	} else {
	    echo "Error: " . $sql . "<br>" . $db->error;
	}  
} 

?>